#ifndef ICONLOADER_H
#define ICONLOADER_H

#include <QIcon>
#include <QList>
#include <QString>


class IconLoader
{
public:
    enum IconType{
        Base =0,
        Provider = 1,
        LastFM = 2,
        Other = 3
    };

    static void Init();
    static QIcon Load(const QString &name,const IconType & icontype);
private:
    IconLoader(){};
    static QList<int> sizes_;
    static QString custom_icon_path_;
    static QList<QString> icon_sub_path_;
    static bool use_sys_icons_;
};

#endif // ICONLOADER_H
